package com.young.commom.httpclient;

import com.young.common.context.BeanLifeCycle;

import java.util.Map;

/**
 * @description：
 * @author: yangyahui01
 * @date: 11/29/24 12:30 PM
 */
public interface HttpClientTemplate extends BeanLifeCycle {
    HttpResult get(String uri);

    HttpResult get(String uri, Map<String, String> parameters);

    HttpResult get(String uri, Map<String, String> parameters, Map<String, String> headers);

    HttpResult post(String uri);

    HttpResult post(String uri, String content);

    HttpResult post(String uri, String content, Map<String, String> parameters);

    HttpResult post(String uri, String content, Map<String, String> parameters, Map<String, String> headers);

    HttpResult post(String uri, Map<String, String> parameters);

    HttpResult post(String uri, Map<String, String> parameters, Map<String, String> headers);

    Object getClient();

    String clientType();
}
